package com.gxuwz.zhangjiahui.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

/**
 * <p>
 *  部门表
 * </p>
 *
 * @author zhangjiahui
 * @since 2021-06-20
 */
@Data
@Alias("Dep") //别名
public class Dep {

    private static final long serialVersionUID = 1L;

    private int id;

    @ApiModelProperty(value = "部门编号")
    private String depId;

    @ApiModelProperty(value = "部门名称")
    private String depName;

    @ApiModelProperty(value = "上一级部门编号")
    private String fatherDep;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
